package com.ss.android.article.browser.lockscreen.ui;

import android.app.ProgressDialog;
import android.content.Context;
import android.os.Handler;

import com.ss.android.common.ui.view.SwitchButton.a;
import com.ss.android.lockscreen.component.b;
import com.ss.android.lockscreen.component.c;

import java.util.List;

final class e implements a {
    private final SettingLockScreenActivity a;

    e(SettingLockScreenActivity arg1) {
        this.a = arg1;
    }

    public final boolean a(boolean arg11) {
        SettingLockScreenActivity v1 = this.a;
        List v3 = android.support.design.a.t();
        int v4 = v3.size();
        String[] v5 = new String[v4];
        int v2;
        for (v2 = 0; v2 < v4; ++v2) {
            v5[v2] = "content://" + v3.get(v2) + ".lockscreen/lockscreen/";
        }

        v1.a = new ProgressDialog(((Context) v1));
        v1.a.setMessage("正在设置...");
        v1.a.show();
        new Handler().postDelayed(new b(v1, arg11), 8000);
        new c(v1, arg11, v3, v4, v5).start();
        return false;
    }
}

